<include file="Public:header"/>
	<include file="Public:menu"/>
	<div id="right">
			<div>
				<div class="app_right_left">
					<div class="feedlist">
						<php>
							if($userInfo['faceimg'] == "noface.jpg"){
						</php>
							<div class="msg-error">
								<p><a href="__APP__/setting/face">上传真实的头像</a>，将会使你更容易找到自己的朋友。</p>
								<p>
									<form action="__APP__/setting/saveface" enctype="multipart/form-data" method="POST">
									<input type="file" name="userface"/>
									<input type="submit" value="上传头像" class="input2"/>
								</p>
								<p>支持jpg,gif,bmp,png格式</p>
						</form>
								</p>
							</div>
						<php>}</php>
						<h3>
							好友最新动态
						</h3>
						<php>
							if(empty($feedList)){
						</php>
							<div class="msg-succ">
								<h4>为什么没有好友？</h4>
								<p>
									你可以尝试到<a href="__APP__/friend/find">这里</a>找一下你的好友。
								</p>
								<p>
									你也可以<a href="__APP__/friend/invitefriend">邀请</a>你的好友到这里来。
								</p>
								<p>
									你还可以<a href="__APP__/friend/import">导入你MSN或者EMAIL里</a>的好友进来。
								</p>
								<p>
									尝试完善一下<a href="__APP__/setting">个人资料</a>，或许这里有志同道合者。
								</p>
								<p>
									看看系统跟据你的<a href="__APP__/setting">个人资料</a>,推荐给你的朋友.
								</p>
							</div>
						<php>
							}else{
						</php>
						<ul>
							<volist name="feedList" id="feed" empty="还没有任何动态">
							<li>
								<a class="feedicon" href="__APP__/feed/{$feed:userid}/{$feed:module}"><img src="../Public/images/feed/{$feed:icon}.gif"/></a>
								<php>
									echo getModule($feed['userid'],$feed['module'],$feed['moduleid'],$feed['content'],$userInfo['id'],$feed['requestid'],$feed['count'],$feed['regtime']);
								</php>
							</li>
							</volist>
						</ul>		
						<php>
							}
						</php>
					</div>
				</div>
				<div class="app_right_right">
					<php>
						if($groupInvite>0){
					</php>
					<div class="notify">
						<h3>邀请</h3>
						<div>
							<p><img src="../Public/images/feed/groups.gif"/><a class="feedaction" href="__URL__/groupinvite"><span id="groupinvite">{$groupInvite}</span>个群组邀请</a></p>
						</div>
					</div>
					<php>
						}
						if(($friendRequest+$groupRequest)>0){
					</php>
					<div class="notify">
						<h3>请求</h3>
						<div>
							<php>
								if($friendRequest>0){
							</php>
							<p><img src="../Public/images/feed/friend.gif"/><a class="feedaction" href="__URL__/friendrequest"><span d="friendrequestcount">{$friendRequest}</span>个好友请求</a></p>
							<php>
								}
								if($groupRequest>0){
							</php>
							<p><img src="../Public/images/feed/groups.gif"/><a class="feedaction" href="__URL__/getgrouprequest">{$groupRequest}个入群请求</a></p>
							<php>}</php>
						</div>
					</div>
					<php>
						}
						if($qrequest>0){
					</php>
					<div class="notify">
						<h3>圈人请求</h3>
						<div>
							<p><img src="../Public/images/feed/addphoto.gif"/><a class="feedaction" href="__URL__/qrequest"><span id="friendrequestcount">{$qrequest}</span>个圈人请求</a></p>
						</div>
					</div>
					<php>
							}
							if($notify>0){
					</php>
					<div class="notify">
						<h3>通知</h3>
						<div>
							<p><img src="../Public/images/feed/notify.gif"/><a class="feedaction" href="__APP__/message/notify/">{$notify}个新通知</a></p>
						</div>
					</div>
					<php>
							}
					</php>
					<php>
						if(!empty($hello)){
					</php>
					<div class="notify">
						<h3>招呼</h3>
						<volist name="hello" id="h" empty="没有招呼">
						<div>
							<p><img src="../Public/images/feed/laugh.gif"/><a href="__APP__/home/{$h:postid}">{$h['username']}</a>向你打招呼</p>
							<p><a class="reverthello" href="__APP__/rehello/{$h['postid']}">回复</a> | <a class="ignorehello" href="__APP__/message/ignorehello/u/{$h['postid']}">忽略</a></p>
						</div>
						</volist>
					</div>
					<php>}</php>
					<div class="notify">
						<h3>逛啦动态</h3>
						<div>
							<p><span class="text12">●</span> <a href="__APP__/network">网络</a>功能完成</p>
							<p><span class="text12">●</span> 新增<a href="__APP__/see">随便看看</a>功能</p>
							<p><span class="text12">●</span> 新增图片<a href="__APP__/photo">圈人</a>功能</p>
							<p><span class="text12">●</span> guangla寻求PHP爱好者共同开发</p>
							<p><span class="text12">●</span> 欢迎<a href="__APP__/friend/invitefriend">邀请</a>您的好友来玩</p>
							<p><span class="text12">●</span> guangla需要你的参与，欢迎<a href="__APP__/showtopic/3">提意见</a></p>
						</div>
					</div>
					<!--
					<div class="notify">
						<h3>生日</h3>
						<div>
						</div>
					</div>
					-->
					<div class="notify">
						<h3>逛啦新人</h3>
						<div class="app_body">
							<div class="friend_div">
								<ul>
									<volist name="newuser" id="friend">
										<li>
											<a href="__APP__/home/{$friend['id']}">
											<img src="__PUBLIC__/Uploads/face/small/{$friend['faceimg']}"/>
											{$friend['username']}({$friend['network_city']})
											</a>
										</li>
									</volist>
								</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
<include file="Public:footer"/>